LEGION Simulator Help

Auto-saving your work

The LEGION Simulator has an auto-save and recovery feature that you can configure to save and recover your work in case of power failures, unintentional exits from the software or system crashes. It can be found under the Tools > Options menu. Auto-save files have the extension ‘_as’ appended to the end of a regular LEGION file name.

When you exit LEGION Simulator properly (regardless of whether you have saved your work or not) any Auto-saved backup file for that session is deleted and will not be available for recovery. The ‘mbk’ file will, however, still be available.

To configure Auto-save:

  1. Select Tools > Options > Auto-save settings.

    The ‘Options’ dialog box is displayed.

  2. Tick the Enable Auto-save box.
  3. Enter a number of minutes between 1 and 120 in the box labelled Automatically save every n minutes.
  4. Select either:

    Overwrite the main file – this will save over your working ‘lgm’ each time auto-save is activated.

    or

    Create a recovery file – this will create a recovery file alongside the ‘lgm’ you are working on, so the ‘lgm’ will remain unchanged unless you explicitly save. If the file you are working on has never been saved, a recovery file will always be created, prefixed by the word “Unnamed”.

    • To be able to see the recovery file in your file structure, check Don’t hide the file.

  5. To make sure your current ‘lgm’ file is automatically saved when you export it as an ‘ora’ file, check the box labelled Update the current file when a simulation (.ora) file is exported.
  6. To display information about the status of Auto-save in the Output Bar, check Show Auto-save details (see below for a list of these statuses).
  7. Click Apply or OK to save your changes.

Notes on Auto-save

  • Unless you check Don’t hide the file auto-saved recovery files are hidden so that they are not confused with standard Model Builder files.
  • Auto-saved backup files are always saved in your ‘My Documents’ folder.
  • Auto-saved backup files have the extension ‘.lgm_as’.
  • If the file you are working on has never been saved, the backup filename will begin with “Unnamed”.
  • The Output Bar will display the following details about the status of the Auto-save function:
    • Disabled – not running.
    • Idle – running but no changes to save yet.
    • Countdown – minutes and seconds until the next auto-save.
    • Suspended – temporarily not running due to an ongoing command or operation or open dialog box.
    • Pending – will auto-save as soon as the current command or operation is completed or cancelled.
    • In progress – performing an auto-save (access to LEGION Simulator is temporarily suspended during an auto-save).